<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Hello, <s:property value="#session.username"/> </title>
    </head>
    <body>
    <div>
	    <s:if test="clientABrowser"><h3>This request has been done by a browser</h3></s:if>
	    <p>Hello, <s:property value="#session.username"/>. Your existing checklists are the following:</p>
	    <ol>
	    <s:iterator value="existingChecklists">
	    	<li> <s:property/> </li>
	    </s:iterator>
	    </ol>
	</div>
	<div>
	<s:a href="/newList">Click here to create a new Checklist</s:a>
	</div>
    </body>
</html>